home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / keyb / cedins.zip / CEDINS.DOC next >
Text File  |  1986-06-05  |  2KB  |  54 lines

  1. The following patches modify CED to default to insert (instead of
  2. overtype) mode for each line, and to not reset the mode when
  3. moving up or down the stack, which is more like typical text
  4. editors.  Note that the mode toggling function of the <Ins> key
  5. is not affected, but that the block cursor now signifies overtype
  6. (instead of insert) mode.
  7.  
  8.      The first patch bypasses the automatic mode reset that
  9.      normally occurs whenever the up or down arrow keys are
  10.      pressed, leaving the mode unchanged instead.
  11.  
  12.      The second patch reverses the mode byte (4CC) logic, so that
  13.      zero means insert mode and non-zero means overtype mode.
  14.  
  15. Of course, before the patches are applied the program should be
  16. backed up! (Either DEBUG or SYMDEB may be used.)
  17.  
  18.  
  19.      C>copy ced.com ced.bak
  20.              1 File(s) copied
  21.  
  22.      C>symdeb ced.com
  23.      Microsoft Symbolic Debug Utility
  24.      Version 3.01
  25.      (C)Copyright Microsoft Corp 1984, 1985
  26.      Processor is [8086]
  27.      -u 642 64a
  28.      2330:0642 C606CC0401     MOV    Byte Ptr [04CC],01
  29.      2330:0647 E87A01         CALL    07C4
  30.      2330:064A 5E             POP    SI
  31.      -a 642
  32.      2330:0642 jmp 64a
  33.      2330:0644
  34.      -u 642 64a
  35.      2330:0642 EB06           JMP    064A
  36.      2330:0644 CC             INT    3
  37.      2330:0645 0401           ADD    AL,01
  38.      2330:0647 E87A01         CALL    07C4
  39.      2330:064A 5E             POP    SI
  40.      -u 7fa 7ff
  41.      2330:07FA F606CC04FF     TEST    Byte Ptr [04CC],FF
  42.      2330:07FF 750E           JNZ    080F
  43.      -a 7ff
  44.      2330:07FF jz 80f
  45.      2330:0801
  46.      -u 7fa 7ff
  47.      2330:07FA F606CC04FF     TEST    Byte Ptr [04CC],FF
  48.      2330:07FF 740E           JZ    080F
  49.      -w
  50.      Writing 1BF4 bytes
  51.      -q
  52.  
  53.      C>
  54.